package com.ruoyi.recruit.domain;

import com.baomidou.mybatisplus.annotation.*;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 招聘内容对象 recruit_content
 * 
 * @author ruoyi
 * @date 2022-01-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("recruit_content")
public class RecruitContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容id */
    @TableId(type = IdType.AUTO)
    private Long contentId;

    /** 招聘id */
    @NotBlank(message = "招聘id不能为空")
    private Long recruitId;

    /** 招聘项目 */
    @TableField(exist = false)
    @Excel(name = "招聘名称")
    private String recruitName;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String postName;

    /** 岗位代码 */
    @Excel(name = "岗位代码")
    private String postCode;

    /** 岗位层次 */
    @Excel(name = "岗位层次")
    private String postLevel;

    /** 科目 */
    @Excel(name = "科目", dictType = "basic_subject_type", comboDict = "basic_subject_type")
    private String subjectType;

    /** 学历要求 */
    @Excel(name = "最低学历要求", dictType = "basic_educate_name", comboDict = "basic_educate_name")
    private String educateType;

    /** 学位要求 */
    @Excel(name = "最低学位要求", dictType = "basic_educate_degree", comboDict = "basic_educate_degree")
    private String degreeType;

    /** 研究生专业要求 */
    @Excel(name = "研究生专业要求")
    private String major;

    /** 本科专业要求 */
    @Excel(name = "本科专业要求")
    private String major1;

    /** 其他要求 */
    @Excel(name = "其他要求")
    private String other;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 招聘范围 */
    @Excel(name = "招聘范围")
    private String planRange;

    /** 招聘计划数 */
    @Excel(name = "招聘计划数")
    private Integer planNumber;

    @TableLogic
    private String delFlag;

    /** 报名人数 */
    @Excel(name = "报名人数")
    @TableField(exist = false)
    private Integer userCount;

    /** 笔试人数 */
    @Excel(name = "笔试人数")
    @TableField(exist = false)
    private Integer writtenCount;

    /** 面试人数 */
    @Excel(name = "面试人数")
    @TableField(exist = false)
    private Integer interviewCount;

    /** 到岗人数 */
    @Excel(name = "到岗人数")
    @TableField(exist = false)
    private Integer confirmCount;

    /** 招聘年度 */
    @TableField(exist = false)
    private String recruitYear;

}
